using UnityEngine;

public class LevelLoader : MonoBehaviour
{
	private void Start()
	{
		Object original = Resources.Load("UI/LevelNode");
		for (int i = 0; i < 120; i++)
		{
			float x = UnityEngine.Random.Range(-0.3f * (float)Screen.width, 0.3f * (float)Screen.width);
			float y = 100 + 150 * i;
			GameObject gameObject = UnityEngine.Object.Instantiate(original) as GameObject;
			gameObject.transform.parent = base.transform;
			RectTransform component = gameObject.GetComponent<RectTransform>();
			component.localPosition = new Vector2(x, y);
		}
	}

	private void Update()
	{
	}
}
